package com.common.queueloader 
{
	import flash.net.URLRequest;		/**	 *加载item接口 	 * @author lake	 * 	 */		public interface ILoadable 
	{
		function get progress():Number;		function get bytesLoaded():Number;		function get bytesTotal():Number;		function get queueVo():QueueVo
		function get content():*;		function get path():URLRequest;		function get isLoading():Boolean;
		/**
		 *注册加载item 
		 * @param complete
		 * @param progress
		 * @param httpStatus
		 * @param error
		 * 
		 */		
		function registerItem(complete:Function,progress:Function = null ,httpStatus:Function = null,error:Function = null):void;
		/**
		 *开始加载 
		 * 
		 */		
		function load():void;
		/**
		 *重新加载 
		 */		
		function reLoad():void;
		/**
		 * 销毁
		 */		
		function dispose():void;	}}